@media only screen and (min-width: 3868px) {

    html {
        max-width: 1920px;
        font-size: calc(1em + 1vw);
        background-color: #ddd;
    }

    body {
        background: url(atelier.png) 0 0px no-repeat;
        background-size: contain;
    }

    .dum_up {
        height: 400px;
    }

    p {
        width: 580px;
        margin-bottom: 80px;
        font-size: 32px;
    }

    .links li {
        font-size: 24px;
        font-family: LightCond;
        line-height: 1;
        color: rgba(0, 0, 0, 1);
    }
}

@media only screen and (min-width: 2160px) {

    html {
        max-width: 1920px;
        font-size: calc(1em + 1vw);
        background-color: #ddd;
    }

    body {
        background: url(atelier.png) 0 0px no-repeat;
        background-size: contain;
    }

    .dum_up {
        height: 400px;
    }

    p {
        width: 580px;
        margin-bottom: 80px;
        font-size: 32px;
    }

    .links li {
        font-size: 24px;
        font-family: LightCond;
        line-height: 1;
        color: rgba(0, 0, 0, 1);
    }
}

*/ @media only screen and (max-width: 1366px) {
    body {
        background: url(atelier.png) 0 0px no-repeat;
        background-size: contain;
    }

    .dum_up {
        height: 330px;
    }

    p {
        width: 430px;
        margin-bottom: 40px;
        font-size: 24px;
    }

    footer {
        position: relative;
        top: 5em;
        height: auto;
    }
}

@media only screen and (max-width: 1280px) {
    body {
        background: url(atelier.png) 0 0px no-repeat;
        background-size: contain;
    }

    .dum_up {
        height: 280px;
    }

    p {
        width: 500px;
        margin-bottom: 40px;
        font-size: 20px;
    }

    .links {
        flex-flow: row wrap;
    }

    .links li {
        font-size: 18px;
    }
}

@media only screen and (max-width: 1112px) {

    footer {
        position: relative;
        top: 2em;
    }
}

@media only screen and (max-width: 1024px) {
    body {
        background: url(atelier.png) 0 0px no-repeat;
        background-size: contain;
    }

    .dum_up {
        height: 220px;
    }

    p {
        width: 430px;
        font-size: 24px;
    }

    .links li {
        font-size: 18px;
    }

}

@media only screen and (orientation: landscape) and (max-width: 1024px) {
    body {
        background: url(atelier.png) 0 0px no-repeat;
        background-size: contain;
    }

    .dum_up {
        height: 220px;
    }

    p {
        width: 430px;
        font-size: 24px;
    }

    footer {
        position: relative;
        top: 2em;
    }

    .links li {
        font-size: 22px;
        line-height: 1.3;
    }
}

@media only screen and (max-width: 900px) {

    body {
        background: url(atelier.png) 0 0px no-repeat;
        background-size: contain;
    }

    .dum_up {
        height: 220px;
    }

    p {
        width: 330px;
        font-size: 18px;
    }

    .links {
        flex-flow: row wrap;
    }

    .links li {
        font-size: 17px;
        line-height: 1.3;
    }
}

@media only screen and (max-width: 896px) {

    body {
        background: url(atelier.png) 0 -40px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 120px;
    }

    p {
        width: 330px;
        font-size: 18px;
    }

    .links {
        flex-flow: row wrap;
    }

    .links li {
        font-size: 18px;
        line-height: 1.3;
    }
}

@media only screen and (max-width: 846px) {

    body {
        background: url(atelier.png) 0 0px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 160px;
    }

    p {
        width: 440px;
    }

    .links {
        flex-flow: row wrap;
    }

    .links li {
        font-size: 18px;
        line-height: 1.3;
    }
}

@media only screen and (max-width: 834px) {
    body {
        background: url(atelier.png) 0 0px no-repeat;
        background-size: contain;
    }

    .dum_up {
        height: 160px;
    }

    p {
        width: 330px;
        margin-bottom: 40px;
        font-size: 18px;
    }

    footer {
        position: relative;
        top: 0;
    }

    .links {
        flex-flow: row wrap;
    }

    .links li {
        font-size: 18px;
        line-height: 1.3;
    }
}

@media only screen and (max-width: 812px) {

    body {
        background: url(atelier.png) 0 -40px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 80px;
    }

    p {
        width: 330px;
        margin-bottom: 20px;
        font-size: 18px;
    }
}

@media only screen and (max-width: 800px) {
    body {
        background: url(atelier.png) 0 0px no-repeat;
        background-size: contain;
    }

    .dum_up {
        height: 160px;
    }

    p {
        width: 330px;
        margin-bottom: 40px;
        font-size: 18px;
    }
}

@media only screen and (max-width: 768px) {
    body {
        background: url(atelier.png) 0 0px no-repeat;
        background-size: contain;
    }

    .dum_up {
        height: 160px;
    }

    p {
        width: 330px;
        margin-bottom: 40px;
        font-size: 18px;
    }

    footer {
        position: relative;
        top: 0;
    }

    .links {
        flex-flow: row wrap;
    }

    .links li {
        font-size: 18px;
        line-height: 1.3;
    }

}

@media only screen and (max-width: 740px) {

    body {
        background: url(atelier.png) 0 -40px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 100px;
    }

    p {
        width: 340px;
        margin-bottom: 20px;
    }

    footer {
        position: relative;
        top: 0;
    }

    .links {
        flex-flow: row wrap;
    }

    .links li {
        font-size: 18px;
        line-height: 1.2;
    }
}

@media only screen and (max-width: 736px) {

    body {
        background: url(atelier.png) 0 -40px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 100px;
    }

    p {
        width: 340px;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 667px) {

    body {
        background: url(atelier.png) 0 -10px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 110px;
    }

    p {
        width: 330px;
        margin-bottom: 20px;
        font-size: 18px;
    }
}

@media only screen and (max-width: 640px) {

    body {
        background: url(atelier.png) 0 -30px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 140px;
    }


    p {
        width: 380px;
        padding: 0;
        margin-bottom: 1em;
        font-size: 18px;
    }

    footer {
        position: relative;
        top: 0;
    }

    .links {
        flex-flow: row wrap;
    }

    .links li {
        font-size: 18px;
        line-height: 1.3;
    }
}

@media only screen and (max-width: 568px) {

    body {
        background: url(atelier.png) 0 -40px no-repeat;
        background-size: contain;
    }

    .dum_up {
        height: 110px;
    }

    p {
        width: 290px;
        margin-bottom: 20px;
        font-size: 16px;
    }

    .links li {
        font-size: 18px;
        line-height: 1.2;
    }
}

@media only screen and (max-width: 414px) {

    body {
        background: url(atelier_SP.png) 0 -120px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 330px;
    }

    p {
        width: 330px;
        margin-bottom: 30px;
        font-size: 18px;
    }

    .links {
        flex-flow: column;
    }

    .links li {
        line-height: 1.2;
    }
}

@media only screen and (max-width: 414px) and (min-height: 896px) {

    body {
        background: url(atelier_SP.png) 0 -120px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 360px;
    }

    p {
        width: 330px;
        margin-bottom: 30px;
        font-size: 18px;
    }

}

@media only screen and (max-width: 384px) {

    body {
        background: url(atelier_SP.png) 0 -140px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 260px;
    }

    p {
        width: 330px;
        margin-bottom: 20px;
        font-size: 18px;
    }
}

@media only screen and (max-width: 375px) {

    body {
        background: url(atelier_SP.png) 0 -120px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 260px;
    }

    p {
        width: 330px;
        margin-bottom: 20px;
        font-size: 18px;
    }
}

@media only screen and (max-width: 375px) and (min-height: 812px) {

    body {
        background: url(atelier_SP.png) 0 -120px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 320px;
    }

    p {
        width: 330px;
        margin-bottom: 20px;
        font-size: 18px;
    }

}

@media only screen and (max-width: 360px) {
    body {
        background: url(atelier_SP.png) 0 -160px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 220px;
    }

    p {
        width: 330px;
        padding-top: 0;
        margin-bottom: 1em;
        font-size: 18px;
    }

    footer {
        position: relative;
        top: 0;
    }

    .links {
        flex-flow: column;
    }

}

@media only screen and (max-width: 360px) and (min-height: 740px) {
    body {
        background: url(atelier_SP.png) 0 -120px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 280px;
    }
}

@media only screen and (max-width: 320px) {

    body {
        background: url(atelier_SP.png) 0 -160px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 180px;
    }

    p {
        width: 290px;
        margin-bottom: 20px;
        font-size: 16px;
    }

    footer {
        top: 0;
        height: auto;
    }

    .links {
        flex-flow: column;
    }

}

@media only screen and (orientation: landscape) and (max-width: 320px) {
    body {
        background: url(atelier.png) 0 0px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 120px;
    }

    p {
        width: 290px;
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 240px) {

    body {
        background: url(atelier_SP.png) 0 -160px no-repeat;
        background-size: cover;
    }

    .dum_up {
        height: 80px;
    }

    p {
        width: 220px;
        padding: 0;
        margin-bottom: 10px;
    }

    .links li {
        font-size: 16px;
    }

}
